<div class="request-popup popup-wrapper">
	<div class="popup items-show-popup">
		<div class="list">
			<div class="available-items">
				@foreach($requestItems as $requestItem)
					<div class="item">
						<div class="info">
							<div class="reference"><span class="label">Referencia: </span>{{$requestItem->item->reference}}</div>
							<div class="name"><span class="label">Nombre: </span>{{$requestItem->item->name}}</div>
							<div class="price"><span class="label">Precio c/u: </span>{{$requestItem->item->formattedPrice()}}</div>
							<div class="request"><span class="label">Cantidad: </span>{{$requestItem->amount}}</div>
							<div class="status"><span class="label">Estado: </span>{{$requestItem->requestStatus->description}}</div>
							<div class="comment"><span class="label">Comentario: </span>{{$requestItem->comment}}</div>
						</div>
						<div class="picture">
							<img src="{{File::exists(public_path().$requestItem->item->image_url) ? $requestItem->item->image_url : '/img/no-pic.png'}}" />
						</div>
						
					</div>
				@endforeach
			</div>
		</div>
		<div class="to-request">
		</div>
		<div class="buttons">
		</div>
		<div class="options"><a href="#" class="cancel-btn">Cerrar</a></div>
	</div>
</div>